﻿using System;
using SharpChannel.Util;

namespace SharpChannel.Core.Packet
{
    public class BufferQueueManager : SharpSingleton<BufferQueueManager>
    {
        public IBufferQueue<byte> GetByteBufferQueue()
        {
            return new RingBufferQueue<byte>(ConfigurationUtil.GetReceiveBufferedQueueSize());
        }
    }
}
